Automattic\Jetpack\Forms\ContactForm\Contact_Form_Field D

Total Complexity 170
Dependencies 5
Dependents 3
Total lines 1,133
Lines of code 631
Logical lines of code 349
Comment lines 392
Methods 27
Properties 8

Methods 27

Method Rating Maintainability Complexity Lines of code
render()
C
31 28 99
render_field()
C
33 27 87
__construct()
B
36 16 78
validate()
A
45 15 41
render_label()
A
51 10 24
render_legend_as_label()
A
54 8 19
render_date_field()
S
45 6 40
render_input_field()
S
52 7 23
render_radio_field()
S
49 6 28
render_checkbox_multiple_field()
S
49 6 27
render_select_field()
S
52 6 21
render_consent_field()
S
57 4 14
render_textarea_field()
S
56 3 17
render_outline_label()
S
58 3 17
render_checkbox_field()
S
60 4 10
maybe_override_type()
S
61 3 12
render_animated_label()
S
62 3 11
render_below_label()
S
63 3 10
get_option_value()
S
71 2 6
add_error()
S
68 2 7
get_form_style()
S
71 2 5
render_url_field()
S
59 1 13
render_email_field()
S
71 1 5
is_error()
S
82 1 3
render_default_field()
S
71 1 5
render_telephone_field()
S
71 1 5
has_inset_label()
S
75 1 4